go.uber.org/zap.sinkRegistry.factories (field)
5 uses
go.uber.org/zap (current package)
sink.go#L60: factories map[string]func(*url.URL) (Sink, error) // keyed by scheme
sink.go#L66: factories: make(map[string]func(*url.URL) (Sink, error)),
sink.go#L86: if _, ok := sr.factories[normalized]; ok {
sink.go#L89: sr.factories[normalized] = factory
sink.go#L111: factory, ok := sr.factories[u.Scheme]
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |